package com.patzn.osgi.hello.configuration.admin;

import org.osgi.service.cm.ConfigurationException;
import org.osgi.service.cm.ManagedService;

import java.util.Dictionary;

/**
 * @name: ManagedServiceDemo
 * @description: ManagedServiceDemo
 * @author: jiangcs
 */
public class ManagedServiceDemo implements ManagedService {
    @Override
    public void updated(Dictionary<String, ?> dictionary) throws ConfigurationException {
        System.out.println("=== update ===");
        System.out.println(dictionary);
    }
}
